<?php
class Controller_Spider extends Controller
{
	protected  $row = 0;
	function __construct()
	{
		//开启日志直接写入
		Kohana_Log::$write_on_add = TRUE;	
		
		//执行脚本不受内存与执行之间限制
		set_time_limit(0);
		ini_set('memory_limit', '1024M');
		//Kohana::$log
	}
}